package com.fz.entity;

import lombok.Data;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

/**
 * Created by webrx on 2017-09-10.
 */
@Data @Repository("teacher") @Scope("singleton") @Lazy(true)
public class Teacher {
    private int id;
    private String name;

}
